home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / SNR40.ARJ / COMP2TAB.SNR < prev    next >
Text File  |  1990-07-20  |  2KB  |  120 lines

  1. \ This table is the same as COMPRESS.SNR, EXCEPT...
  2. \ three or more adjacent space bands are converted into an ASCII TAB code,
  3. \ and the remaining adjacent space bands are thrown away. Handy for you
  4. \ desktop publishers!
  5.  
  6. \20\20\20*00=\09*01     \ Three spaces in a row (when the context flag 
  7.                         \ is OFF) will output an ASCII TAB code (hex 09),
  8.                         \ and then turn the context flag ON, so 
  9.                         \ that adjacent spaces are ignored.
  10.  
  11. \20*00=\20*01           \ A space when the context flag is OFF, equals
  12.                         \ a space and then turn the context flag set ON.
  13.  
  14. \20*01=                 \ A space when the context flag is ON, equals
  15.                         \ nothing.
  16.  
  17. \0d\0a=\0d\0a*01        \ A carriage-return, line-feed will turn the
  18.                         \ context flag ON. Why? So that any space bands
  19.                         \ at the beginning of a line will be ignored!
  20.  
  21. \  Now this next group of equations define which characters allow spaces
  22. \  to be recognized again. (That's just about everything except a space.)
  23.  
  24. A=A*00
  25. B=B*00
  26. C=C*00
  27. D=D*00
  28. E=E*00
  29. F=F*00
  30. G=G*00
  31. H=H*00
  32. I=I*00
  33. J=J*00
  34. K=K*00
  35. L=L*00
  36. M=M*00
  37. N=N*00
  38. O=O*00
  39. P=P*00
  40. Q=Q*00
  41. R=R*00
  42. S=S*00
  43. T=T*00
  44. U=U*00
  45. V=V*00
  46. W=W*00
  47. X=X*00
  48. Y=Y*00
  49. Z=Z*00
  50. a=a*00
  51. b=b*00
  52. c=c*00
  53. d=d*00
  54. e=e*00
  55. f=f*00
  56. g=g*00
  57. h=h*00
  58. i=i*00
  59. j=j*00
  60. k=k*00
  61. l=l*00
  62. m=m*00
  63. n=n*00
  64. o=o*00
  65. p=p*00
  66. q=q*00
  67. r=r*00
  68. s=s*00
  69. t=t*00
  70. u=u*00
  71. v=v*00
  72. w=w*00
  73. x=x*00
  74. y=y*00
  75. z=z*00
  76. 1=1*00
  77. 2=2*00
  78. 3=3*00
  79. 4=4*00
  80. 5=5*00
  81. 6=6*00
  82. 7=7*00
  83. 8=8*00
  84. 9=9*00
  85. 0=0*00
  86. -=-*00
  87. \3D=\3D*00
  88. [=[*00
  89. ]=]*00
  90. ;=;*00
  91. '='*00
  92. ,=,*00
  93. .=.*00
  94. /=/*00
  95. `=`*00
  96. \5C=\5C*00
  97. !=!*00
  98. @=@*00
  99. #=#*00
  100. $=$*00
  101. %=%*00
  102. ^=^*00
  103. \2A=\2A*00
  104. (=(*00
  105. )=)*00
  106. _=_*00
  107. +=+*00
  108. {={*00
  109. }=}*00
  110. :=:*00
  111. "="*00
  112. <=<*00
  113. >=>*00
  114. ?=?*00
  115. ~=~*00
  116. |=|*00
  117.  
  118. \\E
  119.  
  120.